﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VisitRequest.aspx.cs" Inherits="aucn.web.au.VisitRequest" 
MasterPageFile="~/MasterPage.Master" Title="家长参观学校"%>

<%@ Register Src="ImageWithH1.ascx" TagName="ImageWithH1" TagPrefix="uc1" %>
<asp:Content runat="server" ID="ContentHolder1" ContentPlaceHolderID="ContentPlaceHolder1">
<script type="text/javascript">
function CheckValid()
{
    
}
</script>
    <div class="stdlm">
        <uc1:ImageWithH1 runat="server" ID="H11" H1Content="家长参观学校申请表格" ImageAltText="家长参观学校申请表格"
            ImageUrl="~/au/images/headings/visit.png" />
            
            <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
            <asp:View ID="View1" runat="server">
                <p>
                    我们将协助您办理参观易三仓大学的相关手续，有意者请完整填写下列表格。<br />
                
                    请填写以下带<span class="style1"> * </span>的内容，完成后点击“发送”。</p>
                <table class="formtable">
                    <tr>
                        <td class="fieldname">
                            * 家长姓名：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtParentName" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="value">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtParentName"
                                ErrorMessage="*" ></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">
                            * 联系电话：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtParentTel" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="value">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtParentTel"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">
                            * 联系地址：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtAddr" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="value">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddr"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">
                            * 学生姓名：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtStudentName" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="value">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtStudentName"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">
                            * 高中在读／毕业学校：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtSchool" CssClass="textbox" runat="server"></asp:TextBox>
                        </td>
                        <td class="value">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSchool"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname" valign='top'>
                            * 具体内容：
                        </td>
                        <td class="value">
                            <asp:TextBox ID="txtContent" CssClass="textbox" TextMode="MultiLine" Columns="20"
                                Rows="8" runat="server" Text="请在此具体写明您打算参观大学的时间、人数及要求，我们会及时与您联系。"></asp:TextBox>
                        </td>
                        <td class="value" valign='top'>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtContent"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td colspan='2'>
                            <asp:Button ID="btnSubmit" runat="server" Text=" 发送 " OnClientClick="CheckValid();" CssClass="mf" />
                            <input type="reset" value=" 清空 " class="mf" />
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </asp:View>
            <asp:View ID="View2" runat="server">
            <center>
                <p>
                    <img src="images/tick.png" /></p>
                <h2>
                    信息已成功提交，我们会尽快联系您，谢谢。</h2>
                    <%=DateTime.Now.ToString() %>
                    </center>
            </asp:View>
            <asp:View ID="View3" runat="server">
                <h2>系统错误，请稍后重试。</h2>
            </asp:View>
        </asp:MultiView>
            
            </div>
            </asp:Content>